/*
 * dma.h
 *
 *  Created on: 29 Apr 2015
 *      Author: yiqi.pan
 */

#ifndef SRC_DMA_H_
#define SRC_DMA_H_


#define dma_channel_is_busy(dma_ch) (((dma_ch)->CSPR) & DMA_CSPR_BUSY)


#endif /* SRC_DMA_H_ */
